package com.yj.suncity.user.bean;

import org.json.JSONObject;

public class AlreadyAdvBean {
	private String success;//": "1",
	private String msg;//": "获取信息成功",
	private JSONObject data;//": {
	
	private String num="";//": "10",
	private String amount="";//": "15",
	private String surplus_num="";//": "1"
	private String adv_img="";
	private String copies = "";
	private String xj_content = "";
	private String title = "";
	private String djq_content = "";
	private String dz_content = "";
	private String zs_content = "";
	private String yh_content = "";
	
	
	public AlreadyAdvBean(JSONObject json) {
		this.success = json.optString("success");
		this.msg = json.optString("msg");
		this.data = json.optJSONObject("data");
		if (data!=null) {
			this.num = data.optString("num");
			this.amount = data.optString("amount");
			this.surplus_num = data.optString("surplus_num");
			this.adv_img=data.optString("adv_img");
			this.copies=data.optString("copies");
			this.xj_content=data.optString("xj_content");
			this.title=data.optString("title");
			this.djq_content=data.optString("djq_content");
			this.dz_content=data.optString("dz_content");
			this.zs_content=data.optString("zs_content");
			this.yh_content=data.optString("yh_content");
		}
	}
	
	public String getSurplus_num() {
		return surplus_num;
	}

	public void setSurplus_num(String surplus_num) {
		this.surplus_num = surplus_num;
	}

	public String getCopies() {
		return copies;
	}

	public void setCopies(String copies) {
		this.copies = copies;
	}

	public String getXj_content() {
		return xj_content;
	}

	public void setXj_content(String xj_content) {
		this.xj_content = xj_content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDjq_content() {
		return djq_content;
	}

	public void setDjq_content(String djq_content) {
		this.djq_content = djq_content;
	}

	public String getDz_content() {
		return dz_content;
	}

	public void setDz_content(String dz_content) {
		this.dz_content = dz_content;
	}

	public String getZs_content() {
		return zs_content;
	}

	public void setZs_content(String zs_content) {
		this.zs_content = zs_content;
	}

	public String getYh_content() {
		return yh_content;
	}

	public void setYh_content(String yh_content) {
		this.yh_content = yh_content;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public void setData(JSONObject data) {
		this.data = data;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public void setAdv_img(String adv_img) {
		this.adv_img = adv_img;
	}

	public String getAdv_img() {
		return adv_img;
	}

	public String getSuccess() {
		return success;
	}
	public String getMsg() {
		return msg;
	}
	public JSONObject getData() {
		return data;
	}
	public String getNum() {
		return num;
	}
	public String getAmount() {
		return amount;
	}
	public String getSrplus_num() {
		return surplus_num;
	}
	

}
